package com.tuni.birthdaymoney.persistence.repository;

import org.springframework.data.repository.CrudRepository;

import com.tuni.birthdaymoney.persistence.entity.Department;

public interface DepartmentRepository extends CrudRepository<Department, Integer> {
    public Department findById(Integer id);

    public Department findByName(String name);
}